﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace PokerService
{
    [ServiceContract(Namespace = "PokerService")]
    interface IPortal
    {
        [OperationContract]
        int GetPlayerMoney(string username);

        [OperationContract]
        void TopUpMoney(string username, int amount);

        [OperationContract]
        void CreateTable(string tableName, int stackes, int minBuyIn);

        [OperationContract]
        List<Table> GetTableList();
    }
}
